package website.digitalocean.chapter3;

/**
 * @author: longhc@citycloud.com.cn
 * @since: 2023/2/9 17:51
 * @version: 1.0
 */
public class TestDesignPatterns {
    public static void main(String[] args) {
        Computer computer = ComputerFactory.getComputer(new ServerFactory("8G", "256G", "8核"));
        System.out.println(computer.toString());
    }
}
